package com.eascs.ticket.config;

import javax.xml.bind.annotation.XmlElement;

public final class ScheduleSetting {
	private static final ScheduleSetting ME = new ScheduleSetting();

	@XmlElement(name = "schedule.mail.recipient", required = false)
	private String mailRecipient;

	@XmlElement(name = "schedule.mail.enable", required = false)
	private boolean mailEnable;

	private ScheduleSetting() {

	}

	public static ScheduleSetting getScheduleSetting() {
		return ME;
	}

	public String getMailRecipient() {
		return mailRecipient;
	}

	public void setMailRecipient(String mailRecipient) {
		this.mailRecipient = mailRecipient;
	}

	public boolean isMailEnable() {
		return mailEnable;
	}

	public void setMailEnable(boolean mailEnable) {
		this.mailEnable = mailEnable;
	}

}
